<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php $show_header = false; ?>
<?php include $this->admin_tpl('header', 'admin');?>
<link href="<?php echo CSS_PATH?>dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>dialog.js"></script>
<div class="pad-10">
<div class="common-form">
<form name="myform" action="<?php echo U('edit');?>" method="post" id="myform">
<input type="hidden" name="id" value="<?php echo $row['id'] ?>">
<fieldset>
	<legend>幻灯片信息</legend>
	<table width="100%" class="table_form">
		<tr>
			<td width="80">幻灯标题</td> 
			<td><input type="text" name="info[title]" value="<?php echo $row['title'] ?>" class="input-text"></td>
		</tr>
		<tr>
			<td>链接地址</td> 
			<td><input type="text" name="info[url]" value="<?php echo $row['url'] ?>" class="input-text">&nbsp;地址可为空</td>
		</tr>
		<tr>
			<td>小图地址</td> 
			<td><?php echo $form::images('info[thumb]', 'thumb', $row['thumb']); ?>&nbsp;尺寸推荐100*44</td>
		</tr>		
		<tr>
			<td>大图地址</td> 
			<td><?php echo $form::images('info[image]', 'image', $row['image']); ?>&nbsp;尺寸推荐980*300</td>
		</tr>
	</table>
</fieldset>
    <div class="bk15"></div>
    <input name="dosubmit" type="submit" id="dosubmit" value="<?php echo L('submit')?>" class="button">
</form>
</div>
</div>
</body>
</html>